From 2e20b04f3500347b44d75dfe49f77c0edee72107 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sat, 13 Nov 2004 15:05:01 +0000 Subject: [PATCH] BUG #874 'cgi' added to wgFileBlacklist --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 9ea4796481..7d6739519c 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -550,7 +550,7 @@ $wgFileBlacklist = array( # PHP scripts may execute arbitrary code on the server 'php', 'phtml', 'php3', 'php4', 'phps', # Other types that may be interpreted by some servers - 'shtml', 'jhtml', 'pl', 'py', + 'shtml', 'jhtml', 'pl', 'py', 'cgi', # May contain harmful executables for Windows victims 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ); -- 2.20.1